//
//  commNavigationBar.h
//  PhotoCircle
//
//  Created by wujungao on 12/19/15.
//  Copyright © 2015 wujungao. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "navBarDelegate.h"

typedef NS_ENUM(NSInteger,btnType){
    
    leftButton=1,
    rightButton=2
};

@interface commNavigationBar : UINavigationBar

@property(nonatomic,assign)id<navBarDelegate>navBarDelegate;

-(void)setBackBtnImage:(UIImage *)image forState:(UIControlState)state;
-(void)setRightBtnImage:(UIImage *)image forState:(UIControlState)state;
-(void)configTitleWithText:(NSString *)text;
-(void)isHiddenButtonWithBtnType:(btnType)buttonType andIsHidden:(BOOL)isHidden;

@end
